home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / sparc / include / asm / bugs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  365 b   |  18 lines

  1. /* include/asm/bugs.h:  Sparc probes for various bugs.
  2.  *
  3.  * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
  4.  */
  5.  
  6. #ifdef CONFIG_SPARC32
  7. #include <asm/cpudata.h>
  8. #endif
  9.  
  10. extern unsigned long loops_per_jiffy;
  11.  
  12. static void __init check_bugs(void)
  13. {
  14. #if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
  15.     cpu_data(0).udelay_val = loops_per_jiffy;
  16. #endif
  17. }
  18.